/*
 * Copyright (C) 2009 Christoph Caks
 *
 * This file is part of GLWAK.
 *
 * GLWAK is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * GLWAK is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with GLWAK.  If not, see <http://www.gnu.org/licenses/>.
 *
 *
 * WindowConfiguration.h
 *
 *  Created on: 05.07.2009
 *      Author: Christoph Caks
 */

#ifndef WINDOWCONFIGURATION_H_
#define WINDOWCONFIGURATION_H_

#include <string>

namespace glwak {

/**
 * the configuration for a Window.
 */
class WindowConfiguration {
public:

	/**
	 * default constructor.
	 */
	WindowConfiguration();

	/**
	 * full constructor.
	 * @param _caption the caption for the window.
	 * @param _width the width for the window.
	 * @param _height the height for the window.
	 * @param _fullscreen fullscreen flag.
	 */
	WindowConfiguration(
			const std::string &_caption,
			int _width,
			int _height,
			bool _fullscreen );

	/**
	 * copy constructor.
	 * @param _configuration the WindowConfiguration to be copied.
	 */
	WindowConfiguration( const WindowConfiguration &_configuration );

	/**
	 * destructor.
	 */
	virtual ~WindowConfiguration();

	/**
	 * sets the caption.
	 * @param _caption the caption for the window.
	 */
	void setCaption( const std::string &_caption );

	/**
	 * sets the height.
	 * @param _height the height for the window.
	 */
	void setHeight( int _height );

	/**
	 * sets the width.
	 * @param _width the width for the window.
	 */
	void setWidth( int _width );

	/**
	 * defines if the window should be fullscreen.
	 * @param _fullscreen fullscreen flag.
	 */
	void setFullscreen( bool _fullscreen );

	/**
	 * @return the caption of the window.
	 */
	const std::string &getCaption();

	/**
	 * @return the height of the window.
	 */
	int getHeight();

	/**
	 * @return the width of the window.
	 */
	int getWidth();

	/**
	 * @return true, if fullscreen, false otherwise.
	 */
	bool isFullscreen();

private:
	std::string		caption;
	int				height;
	int				width;
	bool			fullscreen;






};

} // namespace glwak

#endif /* WINDOWCONFIGURATION_H_ */
